<template>
  <div class="common-layout">
    <el-container>
      <el-header>Header</el-header>
      <el-container>
        <el-aside width="200px">
          <el-row class="tac">
            <el-col :span="24">
              <h5 class="mb-2">后台管理系统</h5>
              <el-menu router active-text-color="#ffd04b" background-color="#545c64" class="el-menu-vertical-demo"
                default-active="2" text-color="#fff" @open="handleOpen" @close="handleClose">
                <el-sub-menu index="1">
                  <template #title>
                    <span>一级路由</span>
                  </template>
                  <el-menu-item index="/home/user">二级路由</el-menu-item>
                  <el-menu-item index="/home/user/userInfo">三级路由</el-menu-item>
                </el-sub-menu>
              </el-menu>
            </el-col>
          </el-row>
        </el-aside>
        <el-main> <router-view></router-view></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>

</script>

<style lang="scss" scoped></style>